
###############################################################################
#  PROJECT_ALL_DIR        - store all directories under the project
#                           used by the find<package>.cmake modules
#  PROJECT_ALL_LIB_DIR    - store all directories under the project
#                           which stores the built libraries
#

# - Try to find WrapperOpenSG
# Once done this will define following variables
#  
#  WRAPPEROPENSG_FOUND        - system has WrapperOpenSG
#  WRAPPEROPENSG_INCLUDE_DIRS - the WrapperOpenSG include directory
#  WRAPPEROPENSG_LIBRARY_DIRS - the WrapperOpenSG library directory
#  WRAPPEROPENSG_LIBRARIES    - Link these to use WrapperOpensG
#

SET( WRAPPEROPENSG_FOUND "YES" )
SET( WRAPPEROPENSG_INCLUDE_DIRS ${PROJECT_ALL_DIR} )
SET( WRAPPEROPENSG_LIBRARY_DIRS ${PROJECT_ALL_LIB_DIR} )
SET( WRAPPEROPENSG_LIBRARIES WrapperOpenSG )

# verbose
IF( BUILD_VERBOSE )
    MESSAGE( STATUS 
        "----verbose: WRAPPEROPENSG_INCLUDE_DIRS: 
        ${WRAPPEROPENSG_INCLUDE_DIRS}" )
    MESSAGE( STATUS 
        "----verbose: WRAPPEROPENSG_LIBRARY_DIRS: 
        ${WRAPPEROPENSG_LIBRARY_DIRS}" )
    MESSAGE( STATUS 
        "----verbose: WRAPPEROPENSG_LIBRARIES:
        ${WRAPPEROPENSG_LIBRARIES}" )
ENDIF( BUILD_VERBOSE )

